package exe3.sp;

//会员类
//会员号，姓名，手机号，积分
public class Member {
    String name;//姓名
    String memberid;//会员号
    String phonenumber;//手机号
    double integral;//积分

    public Member() {
    }

    public Member(String name, String memberid, String phonenumber, double integral) {
        this.name = name;
        this.memberid = memberid;
        this.phonenumber = phonenumber;
        this.integral = integral;
    }

    public String getName() {
        return name;
    }

    public String getMemberid() {
        return memberid;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public double getIntegral() {
        return integral;
    }

    public void show() {
        System.out.println(getName() + "\t" + getMemberid() + "\t" + getPhonenumber() + "\t" + getIntegral());
    }
}
